<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv=content-type content="text/html; charset=utf-8" />
        <link href="../css1/admin.css" type="text/css" rel="stylesheet" />
        <link href="../assets/css/dpl-min.css" rel="stylesheet" type="text/css"/>
        <link href="../assets/css/bui-min.css" rel="stylesheet" type="text/css"/>
        <link href="../assets/css/main-min.css" rel="stylesheet" type="text/css"/>
        <script type="text/javascript" src="../assets/js/jquery-1.6.js"></script>
        <script type="text/javascript" src="../assets/js/bui.js"></script>
        <script type="text/javascript" src="../assets/js/common/main-min.js"></script>
        <script type="text/javascript" src="../assets/js/config-min.js"></script>
        <script>
            function expand(el)
            {
                childobj = document.getElementById("child" + el);

                if (childobj.style.display == 'none')
                {
                    childobj.style.display = 'block';
                }
                else
                {
                    childobj.style.display = 'none';
                }
                return;
            }

            $(function () {
                $.getJSON("/userinfo.do", null, function (vo) {
                    let menulist = vo.menuList;
                    let str = "";
                    for (let i = 0; i < menulist.length; i++) {
                        let mId=menulist[i].mId;
                        let mName=menulist[i].mName;
                        let mUrl=menulist[i].mUrl;
                        // str +=  "<a class=dl-log-quit\" href=\""+mUrl+"\" id=\""+mId+"\" >"+mName+"</a><br>";
                        str+="<table cellspacing=0 cellpadding=0 width=150 border=0>\n" +
                            "                        <tr height=22>\n" +
                            "                            <td style=\"padding-left: 30px\" background=../img/menu_bt.jpg>\n" +
                            "\t\t\t\t\t\t\t   <a  id=\""+mId+"\"   class=menuparent href=\""+mUrl+"\" target='right'>"+mName+"</a>\n" +
                            "\t\t\t\t\t\t\t </td>\n" +
                            "\t\t\t\t\t\t</tr>\n" +
                            "                        <tr height=4>\n" +
                            "                            <td></td>\n" +
                            "\t\t\t\t\t\t</tr>\n" +
                            "\t\t\t\t\t</table>";
                    }
                    $("#menu").html(str);
                    // BUI.use('common/main', function () {
                    //     for (let i = 0; i < menulist.length; i++) {
                    //         let mId=menulist[i].mId;
                    //         let mName=menulist[i].mName;
                    //         let mUrl=menulist[i].mUrl;
                    //         if (menulist.length-1!=i){
                    //             str +=  "<button class=dl-log-quit\" type=\"button\" href=\""+mUrl+"\" id=\""+mId+"\" >"+mName+"</button>";
                    //         }else {
                    //             str+="{id:'"+mId+"',text:'"+mName+"',href:'"+mUrl+"'}"
                    //         }
                    //
                    //     }
                    //     console.log(str);
                    //     var config = [
                    //         {
                    //             id: '0', menu: [
                    //
                    //                 {
                    //                     text: '快速通道', items: [
                    //                         str
                    //                     ]
                    //                 }
                    //
                    //             ]
                    //         }
                    //
                    //     ];
                    //     new PageUtil.MainPage({
                    //         modulesConfig: config
                    //     });
                    // });

                });

            });
        </script>
    </head>
    <body background=../img/menu_bg.jpg >
        <table height="100%" cellspacing=0 cellpadding=0 width=170 background=../img/menu_bg.jpg border=0>
            <tr>
                <td valign=top align=middle id="menu">

				</td>
                <td width=1 bgcolor=#12321></td>
            </tr>
        </table>
    </body>
</html>